package com.lianxi.mapper;

import com.lianxi.pojo.Tag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TagMapper {

    //增
    int addTags(@Param("aid") Integer aid,@Param("tags") String[] tags);
    //删
    int deleTag(@Param("aid") Integer aid);
    //查
    List<Tag> getTags(@Param("aid") Integer aid);
}
